namespace QMVnSoft.Invoices
{
    using QMVnSoft;
    using QMVnSoft.Controls;
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;

    public class FormCTBGFilter : FormControl
    {
        private BtnControl btnCancel;
        private BtnControl btnOk;
        private IContainer components;
        private GBoxControl gBoxFilterByUser;
        private GBoxControl gBoxLocked;
        private GBoxControl gBoxPosted;
        private bool ib_CheckAccepted;
        private LabelControl lblDien_Giai;
        private LabelControl lblMa_Bp;
        private LabelControl lblMa_Dt;
        private LabelControl lblMa_Hd;
        private LabelControl lblMa_Nv;
        private LabelControl lblMa_Tte;
        private LabelControl lblMa_Vt;
        private LabelControl lblNgay_Ct1;
        private LabelControl lblNgay_Ct2;
        private LabelControl lblNotes;
        private LabelControl lblPhan_Loai;
        private LabelControl lblSo_Ct1;
        private LabelControl lblSo_Ct2;
        private RdioControl rdioControl10;
        private RdioControl rdioControl2;
        private RdioControl rdioControl3;
        private RdioControl rdioControl4;
        private RdioControl rdioControl5;
        private RdioControl rdioControl6;
        private RdioControl rdioControl7;
        private RdioControl rdioControl8;
        private RdioControl rdioControl9;
        private TextControl txtDien_Giai;
        private TextSearch txtMa_Bp;
        private TextSearch txtMa_Dt;
        private TextSearch txtMa_Hd;
        private TextSearch txtMa_Loai1;
        private TextSearch txtMa_Loai2;
        private TextSearch txtMa_Loai3;
        private TextSearch txtMa_Nv;
        private TextOption txtMa_Tte;
        private TextSearch txtMa_Vt;
        private TextDate txtNgay_Ct1;
        private TextDate txtNgay_Ct2;
        private TextControl txtNotes;
        private TextControl txtSo_Ct1;
        private TextControl txtSo_Ct2;
        private TextControl txtTen_Bp;
        private TextControl txtTen_Dt;
        private TextControl txtTen_Hd;
        private TextControl txtTen_Nv;
        private TextControl txtTen_Vt;

        public FormCTBGFilter()
        {
            this.InitializeComponent();
            this.txtMa_Tte.InputMask = "*," + AppInstance.Currencies;
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            base.Close();
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            this.OnAccpeted();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormCTBGFilter));
            this.lblNgay_Ct1 = new QMVnSoft.Controls.LabelControl();
            this.txtNgay_Ct1 = new QMVnSoft.Controls.TextDate();
            this.lblNgay_Ct2 = new QMVnSoft.Controls.LabelControl();
            this.txtNgay_Ct2 = new QMVnSoft.Controls.TextDate();
            this.txtSo_Ct1 = new QMVnSoft.Controls.TextControl();
            this.txtSo_Ct2 = new QMVnSoft.Controls.TextControl();
            this.lblSo_Ct1 = new QMVnSoft.Controls.LabelControl();
            this.lblSo_Ct2 = new QMVnSoft.Controls.LabelControl();
            this.gBoxFilterByUser = new QMVnSoft.Controls.GBoxControl();
            this.rdioControl3 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl2 = new QMVnSoft.Controls.RdioControl();
            this.gBoxLocked = new QMVnSoft.Controls.GBoxControl();
            this.rdioControl4 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl5 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl6 = new QMVnSoft.Controls.RdioControl();
            this.gBoxPosted = new QMVnSoft.Controls.GBoxControl();
            this.rdioControl10 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl7 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl8 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl9 = new QMVnSoft.Controls.RdioControl();
            this.lblMa_Bp = new QMVnSoft.Controls.LabelControl();
            this.txtMa_Bp = new QMVnSoft.Controls.TextSearch();
            this.txtTen_Bp = new QMVnSoft.Controls.TextControl();
            this.lblMa_Hd = new QMVnSoft.Controls.LabelControl();
            this.txtMa_Hd = new QMVnSoft.Controls.TextSearch();
            this.txtTen_Hd = new QMVnSoft.Controls.TextControl();
            this.lblMa_Nv = new QMVnSoft.Controls.LabelControl();
            this.txtMa_Nv = new QMVnSoft.Controls.TextSearch();
            this.txtTen_Nv = new QMVnSoft.Controls.TextControl();
            this.lblDien_Giai = new QMVnSoft.Controls.LabelControl();
            this.txtDien_Giai = new QMVnSoft.Controls.TextControl();
            this.lblNotes = new QMVnSoft.Controls.LabelControl();
            this.txtNotes = new QMVnSoft.Controls.TextControl();
            this.lblPhan_Loai = new QMVnSoft.Controls.LabelControl();
            this.txtMa_Loai1 = new QMVnSoft.Controls.TextSearch();
            this.txtMa_Loai2 = new QMVnSoft.Controls.TextSearch();
            this.txtMa_Loai3 = new QMVnSoft.Controls.TextSearch();
            this.btnOk = new QMVnSoft.Controls.BtnControl();
            this.btnCancel = new QMVnSoft.Controls.BtnControl();
            this.txtTen_Vt = new QMVnSoft.Controls.TextControl();
            this.txtMa_Vt = new QMVnSoft.Controls.TextSearch();
            this.lblMa_Vt = new QMVnSoft.Controls.LabelControl();
            this.txtMa_Tte = new QMVnSoft.Controls.TextOption();
            this.lblMa_Tte = new QMVnSoft.Controls.LabelControl();
            this.txtTen_Dt = new QMVnSoft.Controls.TextControl();
            this.txtMa_Dt = new QMVnSoft.Controls.TextSearch();
            this.lblMa_Dt = new QMVnSoft.Controls.LabelControl();
            this.gBoxFilterByUser.SuspendLayout();
            this.gBoxLocked.SuspendLayout();
            this.gBoxPosted.SuspendLayout();
            this.SuspendLayout();
            // 
            // lblNgay_Ct1
            // 
            this.lblNgay_Ct1.AutoSize = true;
            this.lblNgay_Ct1.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblNgay_Ct1.Location = new System.Drawing.Point(12, 15);
            this.lblNgay_Ct1.Name = "lblNgay_Ct1";
            this.lblNgay_Ct1.Size = new System.Drawing.Size(47, 14);
            this.lblNgay_Ct1.TabIndex = 0;
            this.lblNgay_Ct1.Text = "Từ ngày";
            // 
            // txtNgay_Ct1
            // 
            this.txtNgay_Ct1.DateTimeFormat  = QMVnSoft.Controls.TextDate.DateTimeFormatType.Date;
            this.txtNgay_Ct1.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtNgay_Ct1.InsertKeyMode = System.Windows.Forms.InsertKeyMode.Overwrite;
            this.txtNgay_Ct1.Location = new System.Drawing.Point(108, 12);
            this.txtNgay_Ct1.Mask = "00/00/0000";
            this.txtNgay_Ct1.Name = "txtNgay_Ct1";
            this.txtNgay_Ct1.OldValue = null;
            this.txtNgay_Ct1.Size = new System.Drawing.Size(100, 20);
            this.txtNgay_Ct1.TabIndex = 0;
            this.txtNgay_Ct1.Value = ((object)(resources.GetObject("txtNgay_Ct1.Value")));
            // 
            // lblNgay_Ct2
            // 
            this.lblNgay_Ct2.AutoSize = true;
            this.lblNgay_Ct2.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblNgay_Ct2.Location = new System.Drawing.Point(256, 15);
            this.lblNgay_Ct2.Name = "lblNgay_Ct2";
            this.lblNgay_Ct2.Size = new System.Drawing.Size(54, 14);
            this.lblNgay_Ct2.TabIndex = 0;
            this.lblNgay_Ct2.Text = "Đến ngày";
            // 
            // txtNgay_Ct2
            // 
            this.txtNgay_Ct2.DateTimeFormat  = QMVnSoft.Controls.TextDate.DateTimeFormatType.Date;
            this.txtNgay_Ct2.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtNgay_Ct2.InsertKeyMode = System.Windows.Forms.InsertKeyMode.Overwrite;
            this.txtNgay_Ct2.Location = new System.Drawing.Point(316, 12);
            this.txtNgay_Ct2.Mask = "00/00/0000";
            this.txtNgay_Ct2.Name = "txtNgay_Ct2";
            this.txtNgay_Ct2.OldValue = null;
            this.txtNgay_Ct2.Size = new System.Drawing.Size(100, 20);
            this.txtNgay_Ct2.TabIndex = 1;
            this.txtNgay_Ct2.Value = ((object)(resources.GetObject("txtNgay_Ct2.Value")));
            // 
            // txtSo_Ct1
            // 
            this.txtSo_Ct1.CheckTextSearched = false;
            this.txtSo_Ct1.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtSo_Ct1.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtSo_Ct1.Location = new System.Drawing.Point(108, 33);
            this.txtSo_Ct1.MaxLength = 20;
            this.txtSo_Ct1.Name = "txtSo_Ct1";
            this.txtSo_Ct1.OldValue = null;
            this.txtSo_Ct1.Size = new System.Drawing.Size(100, 20);
            this.txtSo_Ct1.TabIndex = 2;
            this.txtSo_Ct1.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.InvoiceNumber;
            this.txtSo_Ct1.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtSo_Ct1.Value = ((object)(resources.GetObject("txtSo_Ct1.Value")));
            // 
            // txtSo_Ct2
            // 
            this.txtSo_Ct2.CheckTextSearched = false;
            this.txtSo_Ct2.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtSo_Ct2.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtSo_Ct2.Location = new System.Drawing.Point(316, 33);
            this.txtSo_Ct2.MaxLength = 20;
            this.txtSo_Ct2.Name = "txtSo_Ct2";
            this.txtSo_Ct2.OldValue = null;
            this.txtSo_Ct2.Size = new System.Drawing.Size(100, 20);
            this.txtSo_Ct2.TabIndex = 3;
            this.txtSo_Ct2.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.InvoiceNumber;
            this.txtSo_Ct2.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtSo_Ct2.Value = ((object)(resources.GetObject("txtSo_Ct2.Value")));
            // 
            // lblSo_Ct1
            // 
            this.lblSo_Ct1.AutoSize = true;
            this.lblSo_Ct1.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblSo_Ct1.Location = new System.Drawing.Point(12, 36);
            this.lblSo_Ct1.Name = "lblSo_Ct1";
            this.lblSo_Ct1.Size = new System.Drawing.Size(80, 14);
            this.lblSo_Ct1.TabIndex = 0;
            this.lblSo_Ct1.Text = "Chứng từ từ số";
            // 
            // lblSo_Ct2
            // 
            this.lblSo_Ct2.AutoSize = true;
            this.lblSo_Ct2.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblSo_Ct2.Location = new System.Drawing.Point(268, 36);
            this.lblSo_Ct2.Name = "lblSo_Ct2";
            this.lblSo_Ct2.Size = new System.Drawing.Size(42, 14);
            this.lblSo_Ct2.TabIndex = 0;
            this.lblSo_Ct2.Text = "Đến số";
            // 
            // gBoxFilterByUser
            // 
            this.gBoxFilterByUser.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.gBoxFilterByUser.Controls.Add(this.rdioControl3);
            this.gBoxFilterByUser.Controls.Add(this.rdioControl2);
            this.gBoxFilterByUser.Font = new System.Drawing.Font("Arial", 8.25F);
            this.gBoxFilterByUser.Location = new System.Drawing.Point(15, 248);
            this.gBoxFilterByUser.Name = "gBoxFilterByUser";
            this.gBoxFilterByUser.OptionBox = true;
            this.gBoxFilterByUser.Size = new System.Drawing.Size(194, 67);
            this.gBoxFilterByUser.TabIndex = 15;
            this.gBoxFilterByUser.TabStop = false;
            this.gBoxFilterByUser.Text = "Lọc theo người sử dụng";
            // 
            // rdioControl3
            // 
            this.rdioControl3.AutoSize = true;
            this.rdioControl3.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl3.Location = new System.Drawing.Point(106, 19);
            this.rdioControl3.Name = "rdioControl3";
            this.rdioControl3.Size = new System.Drawing.Size(38, 18);
            this.rdioControl3.TabIndex = 1;
            this.rdioControl3.TabStop = true;
            this.rdioControl3.Text = "Có";
            this.rdioControl3.UseVisualStyleBackColor = true;
            // 
            // rdioControl2
            // 
            this.rdioControl2.AutoSize = true;
            this.rdioControl2.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl2.Location = new System.Drawing.Point(6, 19);
            this.rdioControl2.Name = "rdioControl2";
            this.rdioControl2.Size = new System.Drawing.Size(56, 18);
            this.rdioControl2.TabIndex = 0;
            this.rdioControl2.TabStop = true;
            this.rdioControl2.Text = "Không";
            this.rdioControl2.UseVisualStyleBackColor = true;
            // 
            // gBoxLocked
            // 
            this.gBoxLocked.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.gBoxLocked.Controls.Add(this.rdioControl4);
            this.gBoxLocked.Controls.Add(this.rdioControl5);
            this.gBoxLocked.Controls.Add(this.rdioControl6);
            this.gBoxLocked.Font = new System.Drawing.Font("Arial", 8.25F);
            this.gBoxLocked.Location = new System.Drawing.Point(478, 248);
            this.gBoxLocked.Name = "gBoxLocked";
            this.gBoxLocked.OptionBox = true;
            this.gBoxLocked.Size = new System.Drawing.Size(194, 67);
            this.gBoxLocked.TabIndex = 17;
            this.gBoxLocked.TabStop = false;
            this.gBoxLocked.Text = "Khóa";
            // 
            // rdioControl4
            // 
            this.rdioControl4.AutoSize = true;
            this.rdioControl4.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl4.Location = new System.Drawing.Point(106, 19);
            this.rdioControl4.Name = "rdioControl4";
            this.rdioControl4.Size = new System.Drawing.Size(40, 18);
            this.rdioControl4.TabIndex = 2;
            this.rdioControl4.TabStop = true;
            this.rdioControl4.Text = "Mở";
            this.rdioControl4.UseVisualStyleBackColor = true;
            // 
            // rdioControl5
            // 
            this.rdioControl5.AutoSize = true;
            this.rdioControl5.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl5.Location = new System.Drawing.Point(6, 43);
            this.rdioControl5.Name = "rdioControl5";
            this.rdioControl5.Size = new System.Drawing.Size(50, 18);
            this.rdioControl5.TabIndex = 1;
            this.rdioControl5.TabStop = true;
            this.rdioControl5.Text = "Khóa";
            this.rdioControl5.UseVisualStyleBackColor = true;
            // 
            // rdioControl6
            // 
            this.rdioControl6.AutoSize = true;
            this.rdioControl6.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl6.Location = new System.Drawing.Point(6, 19);
            this.rdioControl6.Name = "rdioControl6";
            this.rdioControl6.Size = new System.Drawing.Size(55, 18);
            this.rdioControl6.TabIndex = 0;
            this.rdioControl6.TabStop = true;
            this.rdioControl6.Text = "Tất cả";
            this.rdioControl6.UseVisualStyleBackColor = true;
            // 
            // gBoxPosted
            // 
            this.gBoxPosted.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.gBoxPosted.Controls.Add(this.rdioControl10);
            this.gBoxPosted.Controls.Add(this.rdioControl7);
            this.gBoxPosted.Controls.Add(this.rdioControl8);
            this.gBoxPosted.Controls.Add(this.rdioControl9);
            this.gBoxPosted.Font = new System.Drawing.Font("Arial", 8.25F);
            this.gBoxPosted.Location = new System.Drawing.Point(247, 248);
            this.gBoxPosted.Name = "gBoxPosted";
            this.gBoxPosted.OptionBox = true;
            this.gBoxPosted.Size = new System.Drawing.Size(194, 67);
            this.gBoxPosted.TabIndex = 16;
            this.gBoxPosted.TabStop = false;
            this.gBoxPosted.Text = "Cập nhật";
            // 
            // rdioControl10
            // 
            this.rdioControl10.AutoSize = true;
            this.rdioControl10.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl10.Location = new System.Drawing.Point(106, 43);
            this.rdioControl10.Name = "rdioControl10";
            this.rdioControl10.Size = new System.Drawing.Size(44, 18);
            this.rdioControl10.TabIndex = 2;
            this.rdioControl10.TabStop = true;
            this.rdioControl10.Text = "Huỷ";
            this.rdioControl10.UseVisualStyleBackColor = true;
            // 
            // rdioControl7
            // 
            this.rdioControl7.AutoSize = true;
            this.rdioControl7.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl7.Location = new System.Drawing.Point(106, 19);
            this.rdioControl7.Name = "rdioControl7";
            this.rdioControl7.Size = new System.Drawing.Size(53, 18);
            this.rdioControl7.TabIndex = 2;
            this.rdioControl7.TabStop = true;
            this.rdioControl7.Text = "Duyệt";
            this.rdioControl7.UseVisualStyleBackColor = true;
            // 
            // rdioControl8
            // 
            this.rdioControl8.AutoSize = true;
            this.rdioControl8.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl8.Location = new System.Drawing.Point(6, 43);
            this.rdioControl8.Name = "rdioControl8";
            this.rdioControl8.Size = new System.Drawing.Size(55, 18);
            this.rdioControl8.TabIndex = 1;
            this.rdioControl8.TabStop = true;
            this.rdioControl8.Text = "Sổ cái";
            this.rdioControl8.UseVisualStyleBackColor = true;
            // 
            // rdioControl9
            // 
            this.rdioControl9.AutoSize = true;
            this.rdioControl9.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl9.Location = new System.Drawing.Point(6, 19);
            this.rdioControl9.Name = "rdioControl9";
            this.rdioControl9.Size = new System.Drawing.Size(55, 18);
            this.rdioControl9.TabIndex = 0;
            this.rdioControl9.TabStop = true;
            this.rdioControl9.Text = "Tất cả";
            this.rdioControl9.UseVisualStyleBackColor = true;
            // 
            // lblMa_Bp
            // 
            this.lblMa_Bp.AutoSize = true;
            this.lblMa_Bp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblMa_Bp.Location = new System.Drawing.Point(12, 99);
            this.lblMa_Bp.Name = "lblMa_Bp";
            this.lblMa_Bp.Size = new System.Drawing.Size(47, 14);
            this.lblMa_Bp.TabIndex = 78;
            this.lblMa_Bp.Text = "Bộ phận";
            // 
            // txtMa_Bp
            // 
            this.txtMa_Bp.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMa_Bp.CheckTextSearched = false;
            this.txtMa_Bp.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtMa_Bp.EmptyIsValid = true;
            this.txtMa_Bp.FieldDisplay = "Ten_Bp";
            this.txtMa_Bp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtMa_Bp.FoundIsValid = true;
            this.txtMa_Bp.Location = new System.Drawing.Point(108, 96);
            this.txtMa_Bp.MaxLength = 32;
            this.txtMa_Bp.Name = "txtMa_Bp";
            this.txtMa_Bp.OldValue = null;
            this.txtMa_Bp.Size = new System.Drawing.Size(100, 20);
            this.txtMa_Bp.TabIndex = 6;
            this.txtMa_Bp.TableName = "DMBP";
            this.txtMa_Bp.TextDisplay = this.txtTen_Bp;
            this.txtMa_Bp.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtMa_Bp.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtMa_Bp.Value = ((object)(resources.GetObject("txtMa_Bp.Value")));
            // 
            // txtTen_Bp
            // 
            this.txtTen_Bp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtTen_Bp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtTen_Bp.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtTen_Bp.CheckTextSearched = false;
            this.txtTen_Bp.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtTen_Bp.Enabled = false;
            this.txtTen_Bp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTen_Bp.ForeColor = System.Drawing.Color.Blue;
            this.txtTen_Bp.Location = new System.Drawing.Point(214, 100);
            this.txtTen_Bp.Name = "txtTen_Bp";
            this.txtTen_Bp.OldValue = null;
            this.txtTen_Bp.Size = new System.Drawing.Size(458, 13);
            this.txtTen_Bp.TabIndex = 79;
            this.txtTen_Bp.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtTen_Bp.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtTen_Bp.Value = ((object)(resources.GetObject("txtTen_Bp.Value")));
            // 
            // lblMa_Hd
            // 
            this.lblMa_Hd.AutoSize = true;
            this.lblMa_Hd.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblMa_Hd.Location = new System.Drawing.Point(12, 120);
            this.lblMa_Hd.Name = "lblMa_Hd";
            this.lblMa_Hd.Size = new System.Drawing.Size(54, 14);
            this.lblMa_Hd.TabIndex = 78;
            this.lblMa_Hd.Text = "Hợp đồng";
            // 
            // txtMa_Hd
            // 
            this.txtMa_Hd.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMa_Hd.CheckTextSearched = false;
            this.txtMa_Hd.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtMa_Hd.EmptyIsValid = true;
            this.txtMa_Hd.FieldDisplay = "Ten_Hd";
            this.txtMa_Hd.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtMa_Hd.FoundIsValid = true;
            this.txtMa_Hd.Location = new System.Drawing.Point(108, 117);
            this.txtMa_Hd.MaxLength = 32;
            this.txtMa_Hd.Name = "txtMa_Hd";
            this.txtMa_Hd.OldValue = null;
            this.txtMa_Hd.Size = new System.Drawing.Size(100, 20);
            this.txtMa_Hd.TabIndex = 7;
            this.txtMa_Hd.TableName = "DMHD";
            this.txtMa_Hd.TextDisplay = this.txtTen_Hd;
            this.txtMa_Hd.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtMa_Hd.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtMa_Hd.Value = ((object)(resources.GetObject("txtMa_Hd.Value")));
            // 
            // txtTen_Hd
            // 
            this.txtTen_Hd.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtTen_Hd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtTen_Hd.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtTen_Hd.CheckTextSearched = false;
            this.txtTen_Hd.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtTen_Hd.Enabled = false;
            this.txtTen_Hd.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTen_Hd.ForeColor = System.Drawing.Color.Blue;
            this.txtTen_Hd.Location = new System.Drawing.Point(214, 121);
            this.txtTen_Hd.Name = "txtTen_Hd";
            this.txtTen_Hd.OldValue = null;
            this.txtTen_Hd.Size = new System.Drawing.Size(458, 13);
            this.txtTen_Hd.TabIndex = 79;
            this.txtTen_Hd.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtTen_Hd.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtTen_Hd.Value = ((object)(resources.GetObject("txtTen_Hd.Value")));
            // 
            // lblMa_Nv
            // 
            this.lblMa_Nv.AutoSize = true;
            this.lblMa_Nv.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblMa_Nv.Location = new System.Drawing.Point(12, 78);
            this.lblMa_Nv.Name = "lblMa_Nv";
            this.lblMa_Nv.Size = new System.Drawing.Size(55, 14);
            this.lblMa_Nv.TabIndex = 78;
            this.lblMa_Nv.Text = "Nhân viên";
            // 
            // txtMa_Nv
            // 
            this.txtMa_Nv.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMa_Nv.CheckTextSearched = false;
            this.txtMa_Nv.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtMa_Nv.EmptyIsValid = true;
            this.txtMa_Nv.FieldDisplay = "Ten_Nv";
            this.txtMa_Nv.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtMa_Nv.FoundIsValid = true;
            this.txtMa_Nv.Location = new System.Drawing.Point(108, 75);
            this.txtMa_Nv.MaxLength = 32;
            this.txtMa_Nv.Name = "txtMa_Nv";
            this.txtMa_Nv.OldValue = null;
            this.txtMa_Nv.Size = new System.Drawing.Size(100, 20);
            this.txtMa_Nv.TabIndex = 5;
            this.txtMa_Nv.TableName = "DMNV";
            this.txtMa_Nv.TextDisplay = this.txtTen_Nv;
            this.txtMa_Nv.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtMa_Nv.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtMa_Nv.Value = ((object)(resources.GetObject("txtMa_Nv.Value")));
            // 
            // txtTen_Nv
            // 
            this.txtTen_Nv.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtTen_Nv.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtTen_Nv.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtTen_Nv.CheckTextSearched = false;
            this.txtTen_Nv.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtTen_Nv.Enabled = false;
            this.txtTen_Nv.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTen_Nv.ForeColor = System.Drawing.Color.Blue;
            this.txtTen_Nv.Location = new System.Drawing.Point(214, 79);
            this.txtTen_Nv.Name = "txtTen_Nv";
            this.txtTen_Nv.OldValue = null;
            this.txtTen_Nv.Size = new System.Drawing.Size(458, 13);
            this.txtTen_Nv.TabIndex = 79;
            this.txtTen_Nv.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtTen_Nv.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtTen_Nv.Value = ((object)(resources.GetObject("txtTen_Nv.Value")));
            // 
            // lblDien_Giai
            // 
            this.lblDien_Giai.AutoSize = true;
            this.lblDien_Giai.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblDien_Giai.Location = new System.Drawing.Point(12, 183);
            this.lblDien_Giai.Name = "lblDien_Giai";
            this.lblDien_Giai.Size = new System.Drawing.Size(47, 14);
            this.lblDien_Giai.TabIndex = 0;
            this.lblDien_Giai.Text = "Diễn giải";
            // 
            // txtDien_Giai
            // 
            this.txtDien_Giai.CheckTextSearched = false;
            this.txtDien_Giai.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtDien_Giai.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtDien_Giai.Location = new System.Drawing.Point(108, 180);
            this.txtDien_Giai.MaxLength = 254;
            this.txtDien_Giai.Name = "txtDien_Giai";
            this.txtDien_Giai.OldValue = null;
            this.txtDien_Giai.Size = new System.Drawing.Size(564, 20);
            this.txtDien_Giai.TabIndex = 10;
            this.txtDien_Giai.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.InvoiceDescription;
            this.txtDien_Giai.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtDien_Giai.Value = ((object)(resources.GetObject("txtDien_Giai.Value")));
            // 
            // lblNotes
            // 
            this.lblNotes.AutoSize = true;
            this.lblNotes.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblNotes.Location = new System.Drawing.Point(12, 204);
            this.lblNotes.Name = "lblNotes";
            this.lblNotes.Size = new System.Drawing.Size(44, 14);
            this.lblNotes.TabIndex = 0;
            this.lblNotes.Text = "Ghi chú";
            // 
            // txtNotes
            // 
            this.txtNotes.CheckTextSearched = false;
            this.txtNotes.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtNotes.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtNotes.Location = new System.Drawing.Point(108, 201);
            this.txtNotes.MaxLength = 254;
            this.txtNotes.Name = "txtNotes";
            this.txtNotes.OldValue = null;
            this.txtNotes.Size = new System.Drawing.Size(564, 20);
            this.txtNotes.TabIndex = 11;
            this.txtNotes.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtNotes.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtNotes.Value = ((object)(resources.GetObject("txtNotes.Value")));
            // 
            // lblPhan_Loai
            // 
            this.lblPhan_Loai.AutoSize = true;
            this.lblPhan_Loai.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblPhan_Loai.Location = new System.Drawing.Point(12, 225);
            this.lblPhan_Loai.Name = "lblPhan_Loai";
            this.lblPhan_Loai.Size = new System.Drawing.Size(50, 14);
            this.lblPhan_Loai.TabIndex = 78;
            this.lblPhan_Loai.Text = "Phân loại";
            // 
            // txtMa_Loai1
            // 
            this.txtMa_Loai1.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMa_Loai1.CheckTextSearched = false;
            this.txtMa_Loai1.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtMa_Loai1.EmptyIsValid = true;
            this.txtMa_Loai1.FirstFilter = "Type = \'CT1\'";
            this.txtMa_Loai1.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtMa_Loai1.FoundIsValid = true;
            this.txtMa_Loai1.Location = new System.Drawing.Point(108, 222);
            this.txtMa_Loai1.MaxLength = 32;
            this.txtMa_Loai1.Name = "txtMa_Loai1";
            this.txtMa_Loai1.OldValue = null;
            this.txtMa_Loai1.Size = new System.Drawing.Size(187, 20);
            this.txtMa_Loai1.TabIndex = 12;
            this.txtMa_Loai1.TableName = "DMLOAI";
            this.txtMa_Loai1.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtMa_Loai1.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtMa_Loai1.Value = ((object)(resources.GetObject("txtMa_Loai1.Value")));
            // 
            // txtMa_Loai2
            // 
            this.txtMa_Loai2.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMa_Loai2.CheckTextSearched = false;
            this.txtMa_Loai2.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtMa_Loai2.EmptyIsValid = true;
            this.txtMa_Loai2.FirstFilter = "Type = \'CT2\'";
            this.txtMa_Loai2.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtMa_Loai2.FoundIsValid = true;
            this.txtMa_Loai2.Location = new System.Drawing.Point(296, 222);
            this.txtMa_Loai2.MaxLength = 32;
            this.txtMa_Loai2.Name = "txtMa_Loai2";
            this.txtMa_Loai2.OldValue = null;
            this.txtMa_Loai2.Size = new System.Drawing.Size(188, 20);
            this.txtMa_Loai2.TabIndex = 13;
            this.txtMa_Loai2.TableName = "DMLOAI";
            this.txtMa_Loai2.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtMa_Loai2.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtMa_Loai2.Value = ((object)(resources.GetObject("txtMa_Loai2.Value")));
            // 
            // txtMa_Loai3
            // 
            this.txtMa_Loai3.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMa_Loai3.CheckTextSearched = false;
            this.txtMa_Loai3.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtMa_Loai3.EmptyIsValid = true;
            this.txtMa_Loai3.FirstFilter = "Type = \'CT3\'";
            this.txtMa_Loai3.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtMa_Loai3.FoundIsValid = true;
            this.txtMa_Loai3.Location = new System.Drawing.Point(485, 222);
            this.txtMa_Loai3.MaxLength = 32;
            this.txtMa_Loai3.Name = "txtMa_Loai3";
            this.txtMa_Loai3.OldValue = null;
            this.txtMa_Loai3.Size = new System.Drawing.Size(187, 20);
            this.txtMa_Loai3.TabIndex = 14;
            this.txtMa_Loai3.TableName = "DMLOAI";
            this.txtMa_Loai3.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtMa_Loai3.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtMa_Loai3.Value = ((object)(resources.GetObject("txtMa_Loai3.Value")));
            // 
            // btnOk
            // 
            this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnOk.Font = new System.Drawing.Font("Arial", 8.25F);
            this.btnOk.Location = new System.Drawing.Point(478, 325);
            this.btnOk.Name = "btnOk";
            this.btnOk.Size = new System.Drawing.Size(94, 23);
            this.btnOk.TabIndex = 18;
            this.btnOk.Text = "&Chấp nhận";
            this.btnOk.UseVisualStyleBackColor = true;
            this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
            // 
            // btnCancel
            // 
            this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btnCancel.Font = new System.Drawing.Font("Arial", 8.25F);
            this.btnCancel.Location = new System.Drawing.Point(578, 325);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(94, 23);
            this.btnCancel.TabIndex = 19;
            this.btnCancel.Text = "&Huỷ bỏ";
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            // 
            // txtTen_Vt
            // 
            this.txtTen_Vt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtTen_Vt.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtTen_Vt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtTen_Vt.CheckTextSearched = false;
            this.txtTen_Vt.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtTen_Vt.Enabled = false;
            this.txtTen_Vt.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTen_Vt.ForeColor = System.Drawing.Color.Blue;
            this.txtTen_Vt.Location = new System.Drawing.Point(214, 163);
            this.txtTen_Vt.Name = "txtTen_Vt";
            this.txtTen_Vt.OldValue = null;
            this.txtTen_Vt.Size = new System.Drawing.Size(458, 13);
            this.txtTen_Vt.TabIndex = 92;
            this.txtTen_Vt.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtTen_Vt.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtTen_Vt.Value = ((object)(resources.GetObject("txtTen_Vt.Value")));
            // 
            // txtMa_Vt
            // 
            this.txtMa_Vt.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMa_Vt.CheckTextSearched = false;
            this.txtMa_Vt.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtMa_Vt.EmptyIsValid = true;
            this.txtMa_Vt.FieldDisplay = "Ten_Vt";
            this.txtMa_Vt.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtMa_Vt.FoundIsValid = true;
            this.txtMa_Vt.Location = new System.Drawing.Point(108, 159);
            this.txtMa_Vt.MaxLength = 32;
            this.txtMa_Vt.Name = "txtMa_Vt";
            this.txtMa_Vt.OldValue = null;
            this.txtMa_Vt.Size = new System.Drawing.Size(100, 20);
            this.txtMa_Vt.TabIndex = 9;
            this.txtMa_Vt.TableName = "DMVT";
            this.txtMa_Vt.TextDisplay = this.txtTen_Vt;
            this.txtMa_Vt.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtMa_Vt.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtMa_Vt.Value = ((object)(resources.GetObject("txtMa_Vt.Value")));
            // 
            // lblMa_Vt
            // 
            this.lblMa_Vt.AutoSize = true;
            this.lblMa_Vt.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblMa_Vt.Location = new System.Drawing.Point(12, 162);
            this.lblMa_Vt.Name = "lblMa_Vt";
            this.lblMa_Vt.Size = new System.Drawing.Size(88, 14);
            this.lblMa_Vt.TabIndex = 91;
            this.lblMa_Vt.Text = "Vật tư, hàng hóa";
            // 
            // txtMa_Tte
            // 
            this.txtMa_Tte.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMa_Tte.CheckTextSearched = false;
            this.txtMa_Tte.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtMa_Tte.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtMa_Tte.InputMask = "*,N,C";
            this.txtMa_Tte.Location = new System.Drawing.Point(108, 54);
            this.txtMa_Tte.Name = "txtMa_Tte";
            this.txtMa_Tte.OldValue = null;
            this.txtMa_Tte.Size = new System.Drawing.Size(30, 20);
            this.txtMa_Tte.TabIndex = 4;
            this.txtMa_Tte.Text = "*";
            this.txtMa_Tte.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtMa_Tte.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtMa_Tte.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtMa_Tte.Value = "*";
            // 
            // lblMa_Tte
            // 
            this.lblMa_Tte.AutoSize = true;
            this.lblMa_Tte.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblMa_Tte.Location = new System.Drawing.Point(12, 57);
            this.lblMa_Tte.Name = "lblMa_Tte";
            this.lblMa_Tte.Size = new System.Drawing.Size(53, 14);
            this.lblMa_Tte.TabIndex = 94;
            this.lblMa_Tte.Text = "Mã tiền tệ";
            // 
            // txtTen_Dt
            // 
            this.txtTen_Dt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtTen_Dt.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtTen_Dt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtTen_Dt.CheckTextSearched = false;
            this.txtTen_Dt.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtTen_Dt.Enabled = false;
            this.txtTen_Dt.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTen_Dt.ForeColor = System.Drawing.Color.Blue;
            this.txtTen_Dt.Location = new System.Drawing.Point(214, 142);
            this.txtTen_Dt.Name = "txtTen_Dt";
            this.txtTen_Dt.OldValue = null;
            this.txtTen_Dt.Size = new System.Drawing.Size(458, 13);
            this.txtTen_Dt.TabIndex = 97;
            this.txtTen_Dt.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtTen_Dt.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtTen_Dt.Value = ((object)(resources.GetObject("txtTen_Dt.Value")));
            // 
            // txtMa_Dt
            // 
            this.txtMa_Dt.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMa_Dt.CheckTextSearched = false;
            this.txtMa_Dt.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtMa_Dt.EmptyIsValid = true;
            this.txtMa_Dt.FieldDisplay = "Ten_Dt";
            this.txtMa_Dt.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtMa_Dt.FoundIsValid = true;
            this.txtMa_Dt.Location = new System.Drawing.Point(108, 138);
            this.txtMa_Dt.MaxLength = 32;
            this.txtMa_Dt.Name = "txtMa_Dt";
            this.txtMa_Dt.OldValue = null;
            this.txtMa_Dt.Size = new System.Drawing.Size(100, 20);
            this.txtMa_Dt.TabIndex = 8;
            this.txtMa_Dt.TableName = "DMDT";
            this.txtMa_Dt.TextDisplay = this.txtTen_Dt;
            this.txtMa_Dt.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtMa_Dt.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtMa_Dt.Value = ((object)(resources.GetObject("txtMa_Dt.Value")));
            // 
            // lblMa_Dt
            // 
            this.lblMa_Dt.AutoSize = true;
            this.lblMa_Dt.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblMa_Dt.Location = new System.Drawing.Point(12, 141);
            this.lblMa_Dt.Name = "lblMa_Dt";
            this.lblMa_Dt.Size = new System.Drawing.Size(55, 14);
            this.lblMa_Dt.TabIndex = 96;
            this.lblMa_Dt.Text = "Đối tượng";
            // 
            // FormCTBGFilter
            // 
            this.CancelButton = this.btnCancel;
            this.ClientSize = new System.Drawing.Size(684, 360);
            this.Controls.Add(this.txtTen_Dt);
            this.Controls.Add(this.txtMa_Dt);
            this.Controls.Add(this.lblMa_Dt);
            this.Controls.Add(this.txtMa_Tte);
            this.Controls.Add(this.lblMa_Tte);
            this.Controls.Add(this.txtTen_Vt);
            this.Controls.Add(this.txtMa_Vt);
            this.Controls.Add(this.lblMa_Vt);
            this.Controls.Add(this.btnCancel);
            this.Controls.Add(this.btnOk);
            this.Controls.Add(this.txtTen_Nv);
            this.Controls.Add(this.txtTen_Hd);
            this.Controls.Add(this.txtTen_Bp);
            this.Controls.Add(this.txtMa_Nv);
            this.Controls.Add(this.txtMa_Hd);
            this.Controls.Add(this.txtMa_Bp);
            this.Controls.Add(this.lblMa_Nv);
            this.Controls.Add(this.txtMa_Loai3);
            this.Controls.Add(this.txtMa_Loai2);
            this.Controls.Add(this.txtMa_Loai1);
            this.Controls.Add(this.lblMa_Hd);
            this.Controls.Add(this.lblMa_Bp);
            this.Controls.Add(this.lblPhan_Loai);
            this.Controls.Add(this.txtSo_Ct2);
            this.Controls.Add(this.txtNotes);
            this.Controls.Add(this.txtDien_Giai);
            this.Controls.Add(this.txtSo_Ct1);
            this.Controls.Add(this.txtNgay_Ct2);
            this.Controls.Add(this.lblNotes);
            this.Controls.Add(this.lblSo_Ct2);
            this.Controls.Add(this.lblNgay_Ct2);
            this.Controls.Add(this.lblDien_Giai);
            this.Controls.Add(this.txtNgay_Ct1);
            this.Controls.Add(this.lblSo_Ct1);
            this.Controls.Add(this.lblNgay_Ct1);
            this.Controls.Add(this.gBoxLocked);
            this.Controls.Add(this.gBoxPosted);
            this.Controls.Add(this.gBoxFilterByUser);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "FormCTBGFilter";
            this.Text = "Điều kiện lọc";
            this.gBoxFilterByUser.ResumeLayout(false);
            this.gBoxFilterByUser.PerformLayout();
            this.gBoxLocked.ResumeLayout(false);
            this.gBoxLocked.PerformLayout();
            this.gBoxPosted.ResumeLayout(false);
            this.gBoxPosted.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        private void OnAccpeted()
        {
            this.CheckAccepted = true;
            base.Close();
        }

        protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
        {
            if (keyData == (Keys.Control | Keys.Return))
            {
                this.OnAccpeted();
                return true;
            }
            return base.ProcessCmdKey(ref msg, keyData);
        }

        public bool CheckAccepted
        {
            get
            {
                return this.ib_CheckAccepted;
            }
            set
            {
                this.ib_CheckAccepted = value;
            }
        }

        public object Dien_Giai
        {
            get
            {
                return this.txtDien_Giai.Value;
            }
            set
            {
                this.txtDien_Giai.Value = value;
            }
        }

        public int FilterByUser
        {
            get
            {
                return this.gBoxFilterByUser.Value;
            }
            set
            {
                this.gBoxFilterByUser.Value = value;
            }
        }

        public object Ghi_Chu
        {
            get
            {
                return this.txtNotes.Value;
            }
            set
            {
                this.txtNotes.Value = value;
            }
        }

        public int Locked
        {
            get
            {
                return this.gBoxLocked.Value;
            }
            set
            {
                this.gBoxLocked.Value = value;
            }
        }

        public object Ma_Bp
        {
            get
            {
                return this.txtMa_Bp.Value;
            }
            set
            {
                this.txtMa_Bp.Value = value;
            }
        }

        public object Ma_Dt
        {
            get
            {
                return this.txtMa_Dt.Value;
            }
            set
            {
                this.txtMa_Dt.Value = value;
            }
        }

        public object Ma_Hd
        {
            get
            {
                return this.txtMa_Hd.Value;
            }
            set
            {
                this.txtMa_Hd.Value = value;
            }
        }

        public object Ma_Loai1
        {
            get
            {
                return this.txtMa_Loai1.Value;
            }
            set
            {
                this.txtMa_Loai1.Value = value;
            }
        }

        public object Ma_Loai2
        {
            get
            {
                return this.txtMa_Loai2.Value;
            }
            set
            {
                this.txtMa_Loai2.Value = value;
            }
        }

        public object Ma_Loai3
        {
            get
            {
                return this.txtMa_Loai3.Value;
            }
            set
            {
                this.txtMa_Loai3.Value = value;
            }
        }

        public object Ma_Nv
        {
            get
            {
                return this.txtMa_Nv.Value;
            }
            set
            {
                this.txtMa_Nv.Value = value;
            }
        }

        public object Ma_Tte
        {
            get
            {
                return this.txtMa_Tte.Value;
            }
            set
            {
                this.txtMa_Tte.Value = value;
            }
        }

        public object Ma_Vt
        {
            get
            {
                return this.txtMa_Vt.Value;
            }
            set
            {
                this.txtMa_Vt.Value = value;
            }
        }

        public object Ngay_Ct1
        {
            get
            {
                if (this.txtNgay_Ct1.Value != DBNull.Value)
                {
                    AppInstance.StartWorkingDate = (DateTime) this.txtNgay_Ct1.Value;
                    return AppInstance.StartWorkingDate;
                }
                return DBNull.Value;
            }
            set
            {
                if ((value == DBNull.Value) || (value == null))
                {
                    value = AppInstance.StartWorkingDate;
                }
                this.txtNgay_Ct1.Value = value;
            }
        }

        public object Ngay_Ct2
        {
            get
            {
                if (this.txtNgay_Ct2.Value != DBNull.Value)
                {
                    AppInstance.EndWorkingDate = (DateTime) this.txtNgay_Ct2.Value;
                    return AppInstance.EndWorkingDate;
                }
                return DBNull.Value;
            }
            set
            {
                if ((value == DBNull.Value) || (value == null))
                {
                    value = AppInstance.EndWorkingDate;
                }
                this.txtNgay_Ct2.Value = value;
            }
        }

        public int Posted
        {
            get
            {
                return this.gBoxPosted.Value;
            }
            set
            {
                this.gBoxPosted.Value = value;
            }
        }

        public object So_Ct1
        {
            get
            {
                return this.txtSo_Ct1.Value;
            }
            set
            {
                this.txtSo_Ct1.Value = value;
            }
        }

        public object So_Ct2
        {
            get
            {
                return this.txtSo_Ct2.Value;
            }
            set
            {
                this.txtSo_Ct2.Value = value;
            }
        }
    }
}

